package com.iring.vo;

import org.springframework.data.domain.Sort;

/**
 * 排序vo
 *
 * @author wanggan
 */
public class SortVO {

    private String order;

    private Sort.Direction direction;

    @Override
    public String toString() {
        return "{order:" + order + ",direction:" + direction + "}";
    }

    public String getOrder() {
        return order;
    }

    public Sort.Direction getDirection() {
        return direction;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public void setDirection(Sort.Direction direction) {
        this.direction = direction;
    }
}
